<ul>
<{foreach item=b from=$block key=count name=i}>
  <li><a href="<{$b.adminlink}>"><{$b.lang_linkname}></a>&nbsp;<span style="font-weight:blod;<{if $b.pendingnum > 0}>color:red;<{/if}>"><{$b.pendingnum}></span></li>
<{/foreach}>
</ul>